package com.game.springbootstart.service;

import com.game.springbootstart.DTO.AdminDTO;
import com.game.springbootstart.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 员工信息 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-09
 */
public interface IAdminService extends IService<Admin> {
    Admin login(AdminDTO adminDTO);

    Admin listByName(String name);

    Admin getAdminByUsername(String currentUsername);

    Admin listById(Long id);
}
